package com.flycms.module.feedback.dao;

import com.flycms.module.feedback.model.Feedback;
import com.flycms.module.feedback.param.FeedbackParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FeedbackDao {

    void insertSelective(Feedback feedback);

    List<Feedback> getPage(@Param("param") FeedbackParam param,
                           @Param("index") Integer index,
                           @Param("size") Integer size);

    void delById(@Param("id") Long id);
}
